import { RouterView } from 'vue-router';

import OrderMng from './views/OrderMng.vue';

const routes = [
  {
    path: 'order',
    component: RouterView,
    children: [
      {
        path: '',
        name: 'OrderMng',
        component: OrderMng,
        meta: {
          roles: ['admin'],
          title: '订单管理',
          requiresAuth: true,
        },
      },
    ],
  },
];

export default routes;
